package com.gxa.modules.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 作者 yuanqiufeng
 * Date 2022/11/16
 */
@ApiModel(value = "住院充值结果集", description = "住院充值结果集")
@Data
public class RechargeDetailRecordDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("住院充值记录表的id")
    private Integer id;

    @ApiModelProperty("操作的时间（充值时间）")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty("充值订单的id")
    private Integer rechargeOrderId;

    @ApiModelProperty("患者的id")
    private Integer patientId;

    @ApiModelProperty("住院信息id")
    private Integer inInfoId;


    @ApiModelProperty("订单总额")
    private Double orderTotal;

    @ApiModelProperty("0:微信支付1：住院预交金抵扣")
    private Integer payMethod;

    @ApiModelProperty("住院余额")
    private Double balance;

    @ApiModelProperty("0：未支付，1：已支付")
    private Integer status;

    @ApiModelProperty("订单编号（后台自动生成）")
    private String orderNum;

    @ApiModelProperty("0:微信小程序")
    private Integer orderFrom;

    @ApiModelProperty("0:住院充值，1：门诊充值")
    private Integer businessType;



    @ApiModelProperty("患者的姓名")
    private String name;


    @ApiModelProperty("就诊卡号（后台自动为就诊人生成卡号）")
    private String visitNum;

    @ApiModelProperty("余额")
    private Double money;

    @ApiModelProperty("住院号")
    private String inpatientNum;

}
